#if defined (_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

#include "dllmain.h"
#include "AdoConnector.h"

class FU_ADOTOOLS_API TreeTable
{
    fuAdoConnector & m_dbcon;

public:
    TreeTable(fuAdoConnector & dbcon);
    ~TreeTable(void);

    bool getTreeNodes(CString & node_name);
    void getTreeChild(CString & node_name);
    void getNodePath (CString & node_name);
    void getTreeDepth(void);
    void getNodeDepth(CString & node_name);
    void getLeafNodes(void);
    void addNodeAfter(CString & node_name,CString & node_name_new);
    void delNode     (CString & node_name);
};
